package net.neptech.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppointmentDTO  implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id; // 预约单id
    private Long staffId;
    private Long patientId;
    private String patientName;
    private Integer typeId;
    private Long userId;
    private Long clnicId;
    private Integer slotNo; //号码
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date bookedAt; //预约时间
    private String period; //上午 下午
    private Byte status; //预约单状态 0待支付/1已支付/2已取消/3爽约/4已完成
    private BigDecimal amount = new BigDecimal(30);
    private Integer pageNum = 1;
    private Integer pageSize = 10;

}
